package top.scauwlt.registry;

import top.scauwlt.extension.SPI;

import java.net.InetSocketAddress;

/**
 * @Author wmm
 * @Date 2022/7/24 23:22
 */
@SPI
public interface ServiceRegistry {
    /**
     * 注册服务
     *
     * @param rpcServiceName
     * @param inetSocketAddress
     */
    void registerService(String rpcServiceName, InetSocketAddress inetSocketAddress);
}
